let Gobang = function () {
	this.players = [];
	this.checkerBoard = [];
	this.colorList = ["white", "black"];
	this.gaming = false;
	this.turn = "black";
};

Gobang.prototype.init = function () {
	for (let i = 0; i < 15; i++) {
		this.checkerBoard[i] = [];
		for (let j = 0; j < 15; j++) {
			this.checkerBoard[i][j] = {
				state: 0,
				type: true,
			};
		}
	}
	this.gaming = true;
};

module.exports = Gobang;
